<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="{$seo['keywords']}"/>
<meta name="description" content="{$seo['description']}"/>
<title>{$seo['title']}</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/style/reset.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/style/style.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/js/colorbox/colorbox.css"/>
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/colorbox/jquery.colorbox-min.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="__PUBLIC__/js/DD_belatedPNG.js"></script>
<![endif]-->
</head>

<body>
	<include file="Public:nav" />
	<div class="layoutAuto">
    
    	 <div class="clearfix pt35">
        	<include file="Public:tool" />
			<include file="Public:sns" />     
        </div>
        
        <div class="clearfix">
            	<div class="clearfix pt35 pl20">
                	<a href="{:U('Category/index',array('id'=>$data['Category']['id']))}" title="{$data['Category']['title']}" class="articleCategoryLink fl">{$categoryInfo['title']}</a>
                   <div class="selectCategory fr ">
                        <span>选择栏目</span>
                        <em></em>
                        <notempty name="categoryChild">
                        <ul class="selectCategoryList">
                            <volist name="categoryChild" id="vo">
                                <li><a href="{:U('Life/index',array('id'=>$vo['id']))}" title="{$vo.title}">{$vo.title}</a></li>
                            </volist>
                        </ul>
                        </notempty>
                    </div>                    
                </div>
                <div class="articleContainer p15 mt20 ml20">
                		<dl class="articleBasicInfo clearfix">
                        	<dt>
                            	<h1>{$data.title}</h1>
                            </dt>
                            <dd class="clearfix">
                            	
                                <p class="fl"><a href="/" title="林氏智造">林氏智造</a><span class="pl5 pr5">/</span>{$data.edit_time|date="Y-m-d",###} </p>
                                 <a href="#comments" title="{$comment|count}条评论" class="commentCount fr ml10 ">{$comment|count}</a>
                                 <span class="viewCount fr">{$data['hit']}</span>
                            </dd>
                        </dl>
        				<div class="articleContent">
                        	{$data.content}
                        </div> 
                </div>
                <div class="clearfix">
                    <volist name="allAlbum" id="v" key='k'>
                    <div class="publicItem  publicItem_pic ml20">
                        <div class="itemHeader">
                            <a class="group1 albumZoomWrap" href="/uploadfile/gallery/{$v.filename}" title="{$v.filedesc|default="图片".$k}">
                            	<span class="albumZoom"></span>
                            	<img src="/uploadfile/gallery/{$v.filename}" alt="{$v.filedesc|default="图片".$k}"/>
                            </a>
                        </div>
                        <div class="p15 clearfix tc">
                            {$v.filedesc|default="图片".$k}
                        </div>
                    </div>
                    </volist>
                 </div> 
               <div class="clearfix pt30 pl15">
               <notempty name="prevInfo">
               		<a href="{:U('Article/index',array('id'=>$prevInfo['id']))}" title="{$prevInfo.title}" class="fl">上一篇：{$prevInfo.title}</a>
                </notempty>  
                <notempty name="nextInfo">
               		<a href="{:U('Article/index',array('id'=>$nextInfo['id']))}" title="{$nextInfo.title}" class="fr">下一篇：{$nextInfo.title}</a>
                </notempty>    
               </div>
               <form method="post" class="comment mt30 layoutAuto_comment" id="commentData" action="{:U('Comment/add')}" >
                     <include file="Public:comment"   source="Album"/>
                     </form>
                                                                               	
        </div>
        
    </div>
       <script type="text/javascript">
    		$(function(){
				$('.publicItem_pic').mouseenter(function(){
					$(this).find('.albumZoom').show();
				}).mouseleave(function(){
					$(this).find('.albumZoom').hide();
				});
				$(".group1").colorbox({rel:'group1'});
			});
    </script>
     <include file="Public:footer" />
    
</body>
</html>